package com.lplb.api.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@PropertySource("classpath:swagger.yml")
@ComponentScan(value = {
        "com.lplb.api.server.user.service",
        "com.lplb.common.coreconfig.config",
        "com.lplb.common.swagger.config",
        "com.lplb.common.mybatisplus.config",
        "com.lplb.common.redis.config",
        "com.lplb.common.log.config",
})
public class UserServer {

    public static void main(String[] args) {
        SpringApplication.run(UserServer.class, args);
    }

}
